package com.ruoyi.gather.api.domain;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "remoteCollectProductBService", value = ServiceNameConstants.COLLECT_SERVICE)
public interface RemoteCollectProductBService {

    /**
     * 通过id获取公共库产品信息
     */
    @GetMapping("/collect/collectProductB/getCollectProductBAllInfoById/{collectProductId}")
    public R<Object> getCollectProductBAllInfoById(@PathVariable("collectProductId") Long id);



}
